package com.ajx.blog.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
 * @Author: 姜东浩
 * @Date: 2022-04-22 23:52:23
 * 
 * @Description: 角色-用户关联
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "roles_admins")
public class RolesAdmins implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField(value = "roles")
    private Integer roles; // 角色id

    @TableField(value = "admins")
    private Integer admins; // 管理员id

}
